package com.wwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wwz.entity.User;
import com.wwz.query.UserQuery;

public interface IUserService extends IService<User> {

    /**
     * 分页查询
     * @param query
     */
    IPage<User> toPage(UserQuery query);


    /**
     * 添加或修改
     * @param user
     */
    void addOrUpData(User user);

    /**
     * 删除user
     * @param id
     */
    void deleteById(String id);

}
